package com.maozzi.common.enums;

import lombok.Getter;

/**
 * 页面错误返回信息枚举
 *
 * @author maozi
 */

@Getter
public enum ErrorCodeEnum {
    /**
     * 页面错误返回信息
     */
    NOT_FOUND("404", "页面走丢了"),
    SERVER_ERROR("500", "服务器走神了"),
    ;

    private final String code;
    private final String message;

    ErrorCodeEnum(String code, String message) {
        this.code = code;
        this.message = message;
    }
}
